import Service from '@/common/service/service';
import RequestModel from "@/common/model/request.model";
import ResponseModel from '@/common/model/response.model';

import ResetPassWord from "@/views/system/user-center/model/reset-password.model";

/**
 * 用户中心服务类
 */
export default class UserCenterService {
    /**
     * 重置密码
     * @param data
     */
    public static resetPassWord(data: ResetPassWord): Promise<ResponseModel> {
        return Service.post('sys/user/modifyPassword', data);
    };

}
